<template>
  <div>
    <div>
      <a v-bind:href="baidulink">百度</a>
    </div>
    <div>
      <a :href="baidulink">百度</a>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      baidulink: "https://www.baidu.com",
    };
  },
};
</script>
